from homework.litemall.api.session_http_api import SessionHttpApi
from homework.litemall.model.user import User


class SessionFactory:
    @classmethod
    def create(cls, portal: User):
        return SessionHttpApi(portal)
